package org.cloud.im.admin.account.ao;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

/**
 * @Author: w.weidong.lin@abite.com
 * @Description: 登录请求对象
 * @Date: create in 2021/10/26 11:22
 */
@Getter
@Setter
@ToString(callSuper = true)
public class LoginAO implements Serializable {
    private static final long serialVersionUID = -6635951756862925452L;

    /**
     * 登录账号
     */
    @NotNull(message = "账号不能为空")
    private String account;

    /**
     * 登录密码
     */
    @NotEmpty(message = "密码不能为空")
    private String password;
}
